Make sure to fork again after setsid() so that child cannot regain CTTY.
authorAnthony Liguori <anthony@codemonkey.ws>
Mon, 12 Dec 2005 15:11:13 +0000 (15:11 +0000)
committerAnthony Liguori <anthony@codemonkey.ws>
Mon, 12 Dec 2005 15:11:13 +0000 (15:11 +0000)
commitd4895766cb072c5275865683db920794e605bc0e
tree9135bbccc21c27970709da16695f060aa8db219e
parent56233085ef09f9a6b64a1676c1d1472d46fba897
Make sure to fork again after setsid() so that child cannot regain CTTY.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
tools/console/daemon/utils.c
tools/xenstore/xenstored_core.c